package com.mallcai.bigdata.ladon.service.peekdata;

import com.mallcai.bigdata.ladon.dpl.entity.peekdata.ImportRecord;
import com.mallcai.bigdata.ladon.vo.DataVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-07-12 16:24
 */
public interface IDataImportService {

    /**
     * 导入数据
     * @param importRecord
     */
    void doImport(ImportRecord importRecord, MultipartFile file)  throws IOException;


    /**
     * 预览数据
     * @param params
     */
    DataVo previewImportData(Map<String, Object> params);
}